package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 款式管理对象 style
 * 
 * @author ruoyi
 * @date 2024-11-27
 */
public class Style extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 款式id */
    private Long styleId;

    /** 款式名字 */
    @Excel(name = "款式名字")
    private String styleName;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 分类id */
    @Excel(name = "分类id")
    private Long categoryId;

    public void setStyleId(Long styleId) 
    {
        this.styleId = styleId;
    }

    public Long getStyleId() 
    {
        return styleId;
    }
    public void setStyleName(String styleName) 
    {
        this.styleName = styleName;
    }

    public String getStyleName() 
    {
        return styleName;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("styleId", getStyleId())
            .append("styleName", getStyleName())
            .append("description", getDescription())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("categoryId", getCategoryId())
            .toString();
    }
}
